# Maintainer: psykose <alice@ayaya.dev>
pkgname=ffnvcodec-headers
pkgver=11.1.5.1
pkgrel=0
pkgdesc="FFmpeg version of headers required to interface with Nvidias codec APIs"
url="https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git"
arch="noarch"
license="MIT"
source="https://github.com/FFmpeg/nv-codec-headers/releases/download/n$pkgver/nv-codec-headers-$pkgver.tar.gz"
builddir="$srcdir/nv-codec-headers-$pkgver"
options="!check" # no tests

build() {
	make PREFIX=/usr
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
b0738e51e3d542483a15bdbf615b1233a2ef110f1a12853b1af45c650fbd144f4aa94dd68289c66582eedb2309bf266c7e1c0ef48b9e2ee1789fd009ed45bd88  nv-codec-headers-11.1.5.1.tar.gz
"
